/** */

<template>
  <Input :value="value" @input="handleInput" />
</template>

<script>
import { Input } from 'ant-design-vue'

export default {
  name: 'MyModelTest',
  components: {
    // 'my-input': Input,
    Input,
  },
  model: {
    prop: 'value',
    event: 'change',
  },
  props: {
    value: String,
  },
  data() {
    return {
      myValue: undefined,
    }
  },
  watch: {},
  methods: {
    handleInput(e) {
      this.$emit('change', e.target.value)
    },
  },
}
</script>

<style></style>
